<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理 - ${title}</title>
    <link rel="stylesheet" href="../assets/css/styles.css">
    <link rel="stylesheet" href="../assets/css/menu.css">
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #ffffff;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
            margin-bottom: 20px;
        }
        .btn {
            display: inline-block;
            padding: 8px 16px;
            background-color: #ffffff;
            color: #000000;
            text-decoration: none;
            border-radius: 4px;
            border: 1px solid #ddd;
            cursor: pointer;
        }
        .btn:hover {
            background-color: #000000;
            color: #ffffff;
        }
        .btn-danger {
            background-color: #ffffff;
            color: #000000;
            border: 1px solid #000000;
        }
        .btn-danger:hover {
            background-color: #000000;
            color: #ffffff;
        }
        .btn-success {
            background-color: #ffffff;
            color: #000000;
            border: 1px solid #000000;
        }
        .btn-success:hover {
            background-color: #000000;
            color: #ffffff;
        }
        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        table, th, td {
            border: 1px solid #ddd;
        }
        th, td {
            padding: 12px;
            text-align: left;
        }
        th {
            background-color: #ffffff;
        }
        tr:nth-child(even) {
            background-color: #ffffff;
        }
        .alert {
            padding: 12px;
            margin-bottom: 20px;
            border-radius: 4px;
        }
        .alert-success {
            background-color: #ffffff;
            color: #000000;
            border: 1px solid #000000;
        }
        .alert-error {
            background-color: #ffffff;
            color: #000000;
            border: 1px solid #000000;
        }
        .actions {
            display: flex;
            gap: 5px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="nav-menu">
            <a href="users/user_list.jsp">用户管理</a>
            <a href="products/product_list.jsp">商品管理</a>
        </div>
        
        <div class="header">
            <h1>${title}</h1>
        </div>
        
        <jsp:body>
            ${body}
        </jsp:body>
    </div>
</body>
</html>